export default [
  {
    path: '/publish',
    name: 'publish',
    component: () => import('../views/PubView.vue'),
    children: [
      {
        path: 'article',
        name: 'publishArticle',
        component: () => import('../components/PubArticle.vue'),
      },
      {
        path: 'source',
        name: 'publishSource',
        component: () => import('../components/PubSource.vue')
      }
    ],
    redirect: '/publish/article'
  }
]